﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using B303Langf.Parser.CodeGenerator;

namespace B303Langf.Parser.AST
{
   public abstract class Declaration : AST
   {
      public Declaration( TypeDenoter type, Identifier identifier )
      {
         Type = type;
         Identifier = identifier;
      }

      [TraverseIgnore]
      public UnknownValue Description
      {
         get;
         set;
      }

      public TypeDenoter Type
      {
         get;
         private set;
      }

      public Identifier Identifier
      {
         get;
         private set;
      }
   }
}
